package com.yidu.dao;

import java.util.List;
import java.util.Map;

import com.yidu.model.LockerArea;
import com.yidu.util.Pages;

public interface LockerAreaMapper {
    int deleteByPrimaryKey(String areaId);

    int insert(LockerArea record);

    int insertSelective(LockerArea record);

    LockerArea selectByPrimaryKey(String areaId);

    int updateByPrimaryKeySelective(LockerArea record);

    int updateByPrimaryKey(LockerArea record);
    
    /**
     * 查询
     * @return
     */
    List<LockerArea> selectAll(Map<String, Object> map);
    
    /**
     * 分页
     * @param area 
     * @return
     */
    int findCount2(LockerArea area);
    
    /**
     * box的下拉框准备
     */
    public List<LockerArea> selectboxAll();
}